/*
 * Copyright @ 苏州瑞云信息技术有限公司 All rights reserved.
 */
package cn.com.recloud.bbs.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import cn.com.recloud.one.spring.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author herry
 * @date 2020-06-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("bbs_contact")
@ApiModel(value="Contact对象", description="")
public class bbs_contact extends BaseEntity {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "uuid")
    @TableId(value = "bbs_contactid", type = IdType.ASSIGN_UUID)
    private String bbs_contactid;

    @ApiModelProperty(value = "来源,租户，微信")
    private String source;

    private String sourcename;

    @ApiModelProperty(value = "客户名称")
    @TableField("bbs_account_name")
    private String bbs_account_name;

    @ApiModelProperty(value = "客户编码")
    @TableField("bbs_account_code")
    private String bbs_account_code;

    @ApiModelProperty(value = "租户用户的code")
    private String code;

    @ApiModelProperty(value = "性别：男，女")
    private String sex;

    @ApiModelProperty(value = "昵称，默认为姓名")
    private String nickname;

    @ApiModelProperty(value = "职位")
    private String position;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "电话")
    private String mobilephone;

    @ApiModelProperty(value = "出生年月")
    private LocalDateTime birthday;

    @ApiModelProperty(value = "身份证")
    private String idcard;


}
